package com.bwie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bwie.common.domain.Store;
import com.bwie.common.domain.User;
import com.bwie.common.domain.request.StoreRequest;
import com.bwie.common.result.Result;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @Author：ShenJiaFeng
 * @Package：com.bwie.service
 * @Project：zg6_week11
 * @name：StoreService
 * @Date：2024/4/25 10:30
 */
public interface StoreService extends IService<Store> {
    /**
     * 门店列表
     * @param storeRequest
     * @return
     */
    Result<List<Store>> storeList(StoreRequest storeRequest);

    /**
     * 新增门店
     */
    Result<Store> addStore(Store store);

    /**
     * 图片上传
     * @param multipartFile
     * @return
     */
    Result fastUpd(MultipartFile multipartFile);

    Result<List<User>> userList();

}
